package com.ruoyi.reward.service;

import java.util.List;
import com.ruoyi.reward.domain.CommunityOrder;

/**
 * 兑换订单Service接口
 * 
 * @author xianyu
 * @date 2025-04-04
 */
public interface ICommunityOrderService 
{
    /**
     * 查询兑换订单
     * 
     * @param id 兑换订单主键
     * @return 兑换订单
     */
    public CommunityOrder selectCommunityOrderById(Long id);

    public void checkcode(Long id);
    /**
     * 查询兑换订单列表
     * 
     * @param communityOrder 兑换订单
     * @return 兑换订单集合
     */
    public List<CommunityOrder> selectCommunityOrderList(CommunityOrder communityOrder);

    /**
     * 新增兑换订单
     * 
     * @param communityOrder 兑换订单
     * @return 结果
     */
    public int insertCommunityOrder(CommunityOrder communityOrder);

    /**
     * 修改兑换订单
     * 
     * @param communityOrder 兑换订单
     * @return 结果
     */
    public int updateCommunityOrder(CommunityOrder communityOrder);

    /**
     * 批量删除兑换订单
     * 
     * @param ids 需要删除的兑换订单主键集合
     * @return 结果
     */
    public int deleteCommunityOrderByIds(Long[] ids);

    /**
     * 删除兑换订单信息
     * 
     * @param id 兑换订单主键
     * @return 结果
     */
    public int deleteCommunityOrderById(Long id);
}
